import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { AppRoutingModule } from "./app-routing.module";
import { AppComponent } from "./app.component";
import { SharedModule } from "@shared/shared.module";
import { ContentLayoutComponent } from "@layout/content-layout/content-layout.component";
import { FooterComponent } from "@layout/footer/footer.component";
import { HeaderNavComponent } from "@layout/header-nav/header-nav.component";
import { CoreModule } from "@core/core.module";
import { httpInterceptorProviders } from "@core/interceptors";
import { AuthLayoutComponent } from "./layout/auth-layout/auth-layout.component";
import { HttpClientModule } from "@angular/common/http";

@NgModule({
  declarations: [
    AppComponent,
    ContentLayoutComponent,
    FooterComponent,
    HeaderNavComponent,
    AuthLayoutComponent,
  ],
  imports: [
    BrowserModule,
    SharedModule,
    CoreModule,
    BrowserAnimationsModule,
    HttpClientModule,
    AppRoutingModule,
  ],
  providers: [httpInterceptorProviders],
  bootstrap: [AppComponent],
})
export class AppModule {}
